home *** CD-ROM | disk | FTP | other *** search
/ Die Ultimative Software-P…i Collection 1996 & 1997 / Die Ultimative Software-Pakete CD-ROM fur Atari Collection 1996 & 1997.iso / g / gnu_c / crsdoc16.zoo / doc / Makefile < prev    next >
Encoding:
Makefile  |  1992-11-06  |  1.7 KB  |  76 lines

  1. #
  2. # Copyright 1980 Kenneth C. R. C. Arnold and The Regents of the
  3. # University of California.  Permission is granted to freely
  4. # distribute curses and its documentation provided that this
  5. # notice is left intact.
  6. #
  7. #    @(#)Makefile    6.2 (Berkeley) 4/28/86
  8. #
  9. #    makefile for screen package documentation
  10. #
  11. NROFF=    nroff
  12. TROFF=    ptroff
  13. TBL=    tbl $(TFLAGS)
  14. VFONT=    /usr/lib/vfontedpr
  15. NFLAGS=    -Tcrt
  16. TFLAGS= -Plw
  17. CFLAGS=    -O -n -s
  18. BINDIR=    /usr/doc/ps1/18.curses
  19.  
  20. DOCS=    doc.I doc.II doc.III doc.IV
  21. RAW=    macros c_macros appen.B appen.A appen.C intro.0 intro.1 \
  22.     intro.2 intro.3 intro.4 intro.5 ${DOCS} curses.3x
  23.  
  24. CRAW=    win_st.c twinkle1.c twinkle2.c life.c
  25. CSOURCE=win_st.gr twinkle1.gr twinkle2.gr life.gr
  26. SOURCE=    macros appen.A.tbl appen.B appen.C intro.0 intro.1 \
  27.     intro.2.tbl intro.3 intro.4 intro.5
  28.  
  29. .SUFFIXES:
  30. .SUFFIXES: .c .gr
  31.  
  32. #
  33. # this section formats C input source into nice troffable (or nroffable)
  34. # versions.  It uses the capabilites of "vgrind", which sets keywords in
  35. # bold font, and comments in italics.
  36. #
  37.  
  38. # Don't re-run vgrind unless you want to patch the output files.
  39. .c.gr:
  40.     ${VFONT} $*.c | grep -v "^'wh" > $*.gr
  41.  
  42. troff: Master macros ${SOURCE}
  43.     ${TROFF} -me ${TFLAGS} Master ;
  44.  
  45. Curses.doc: ${VFONT} Master macros ${SOURCE}
  46.     ${NROFF} -me ${NFLAGS} Master > Curses.doc
  47.  
  48. ${CSOURCE}: ${VFONT}
  49.  
  50. intro.5: ${DOCS}
  51. appen.B: win_st.gr
  52. appen.C: twinkle1.gr life.gr twinkle2.gr
  53.  
  54. intro.2.tbl: intro.2
  55.     ${TBL} intro.2 > intro.2.tbl
  56.  
  57. appen.A.tbl: appen.A
  58.     ${TBL} appen.A > appen.A.tbl
  59.  
  60. spell: ${SOURCE}
  61.     /bin/csh ./Spellit ${SOURCE} ${DOCS}
  62.  
  63. install:
  64.     cp Makefile ${RAW} ${BINDIR}
  65.  
  66. ar:
  67.     ar crv curdoc.ar Master ${RAW} ${CRAW} Makefile
  68.  
  69. lpr: Curses
  70.     -lpr Curses ; lpq
  71.     -lpq
  72.  
  73. clean:
  74.     rm -f ${CSOURCE} appen.A.tbl intro.2.tbl curses.tar vfontedpr \
  75.         Curses.doc errs Errs
  76.